﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BDPAutodetect.Device
{
    /// <summary>
    /// 设备指标枚举类型
    /// </summary>
    public enum DeviceTargetType
    {
        /// <summary>
        /// 未知
        /// </summary>
        None = 0,
        /// <summary>
        /// 客户主机工位端-进入测试模式
        /// </summary>
        Customer_DebugModeStart,
        /// <summary>
        /// 客户主机工位端-检测DEBUG工作
        /// </summary>
        Customer_DebugModeCheck,
        /// <summary>
        /// 客户主机工位端-UI板SW版本号
        /// </summary>
        Customer_SoftwareVersion,
        /// <summary>
        /// 客户主机工位端-NTC温度
        /// </summary>
        Customer_NTCTemperature,
        /// <summary>
        /// 客户主机工位端-料筒微动开关
        /// </summary>
        Customer_WitchBarrelMicro,
        /// <summary>
        /// 客户主机工位端-倾倒开关
        /// </summary>
        Customer_WitchTipping,
        /// <summary>
        /// 客户主机工位端-启动压缩机
        /// </summary>
        Customer_CompressorOpen,
        /// <summary>
        /// 客户主机工位端-压缩机功率
        /// </summary>
        Customer_CompressorPower,
        /// <summary>
        /// 客户主机工位端-压缩机电流
        /// </summary>
        Customer_CompressorCurrent,
        /// <summary>
        /// 客户主机工位端-压缩机电压
        /// </summary>
        Customer_CompressorVoltage,
        /// <summary>
        /// 客户主机工位端-关闭压缩机
        /// </summary>
        Customer_CompressorClose,
        /// <summary>
        /// 客户主机工位端-开启冷凝器风扇
        /// </summary>
        Customer_CondenserFanOpen,
        /// <summary>
        /// 客户主机工位端-冷凝器风扇功率
        /// </summary>
        Customer_CondenserFanPower,
        /// <summary>
        /// 客户主机工位端-关闭冷凝器风扇
        /// </summary>
        Customer_CondenserFanClose,
        /// <summary>
        /// 客户主机工位端-开启电机
        /// </summary>
        Customer_MotorOpen,
        /// <summary>
        /// 客户主机工位端-读电机功率
        /// </summary>
        Customer_MotorPower,
        /// <summary>
        /// 客户主机工位端-读电机电流
        /// </summary>
        Customer_MotorCurrent,
        /// <summary>
        /// 客户主机工位端-读电机电压
        /// </summary>
        Customer_MotorVoltage,
        /// <summary>
        /// 客户主机工位端-关闭电机
        /// </summary>
        Customer_MotorClose,
        /// <summary>
        /// 客户主机工位端-环境温度
        /// </summary>
        Customer_EnvironmentTemperature,
        /// <summary>
        /// 客户主机工位端-退出DEBUG
        /// </summary>
        Customer_DebugModeFinish,

        /// <summary>
        /// 电压电流采样板-功率读取
        /// </summary>
        Electrical_PowerRead,
        /// <summary>
        /// 电压电流采样板-电流读取
        /// </summary>
        Electrical_CurrentRead,
        /// <summary>
        /// 电压电流采样板-电压读取
        /// </summary>
        Electrical_VoltageRead,

        /// <summary>
        /// DIDO输入输出板启动开关量读取
        /// </summary>
        SensorSign_SwitchRead,
        /// <summary>
        /// DIDO输入输出板LED红灯写入
        /// </summary>
        SensorSign_LedLightRedWrite,
        /// <summary>
        /// DIDO输入输出板LED绿灯写入
        /// </summary>
        SensorSign_LedLightGreenWrite,
        /// <summary>
        /// DIDO输入输出板LED黄灯写入
        /// </summary>
        SensorSign_LedLightYellowWrite,
        /// <summary>
        ///  DIDO输入输出板蜂鸣器写入
        /// </summary>
        SensorSign_HummerWrite
    }
}
